Fix display when left-fringe/right-fringe display spec is invalid.
authorEli Zaretskii <eliz@gnu.org>
Fri, 11 May 2012 14:05:06 +0000 (17:05 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 11 May 2012 14:05:06 +0000 (17:05 +0300)
commit6c0683cfed74072ebae989d577d5fae65c5abb06
tree5bf0812ba81a210807f433bee9395e044abc7f67
parentf43fa9d37d25c5772742b804558b679a60af8875
Fix display when left-fringe/right-fringe display spec is invalid.

 src/xdisp.c (handle_single_display_spec): Return 1 for left-margin
 and right-margin display specs even if the spec is invalid or we
 are on a TTY, and thus unable to display on the fringes.  That's
 because the text with the property will not be displayed anyway,
 so we need to signal to the caller that this is a "replacing"
 display spec.  This fixes display when the spec is invalid or we
 are on a TTY.
src/ChangeLog
src/xdisp.c